package com.cn.ccp.webservice.impl;

import com.cn.ccp.bean.OnlineExamBean;

/**
 * 试题详细对象
 * @author renyongcheng
 *
 */
public class ResearchDetailObj {
	private String id;
	private String number;//试题编号
	private String testTitle;//试题题目
	/**
	 * 试题类型
	 * 0----选择题
	 * 1----判断题
	 */
//	private int type;
	private String optionA ;
	private String optionB ;
	private String optionC ;
	private String optionD ;
	
	ResearchDetailObj(OnlineExamBean obj){
		id = obj.getId();
		number = obj.getIndex();
		testTitle = obj.getTopic();
//		if(obj.isShowSelect())
//			type = 0;
//		else
//			type = 1;
		optionA = obj.getAnswerA();
		optionB = obj.getAnswerB();
		optionC = obj.getAnswerC();
		optionD = obj.getAnswerD();
	}
	
	
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getNumber() {
		return number;
	}
	public void setNumber(String number) {
		this.number = number;
	}
	public String getTestTitle() {
		return testTitle;
	}
	public void setTestTitle(String testTitle) {
		this.testTitle = testTitle;
	}
//	public int getType() {
//		return type;
//	}
//	public void setType(int type) {
//		this.type = type;
//	}
	 
	public String getOptionA() {
		return optionA;
	}


	public void setOptionA(String optionA) {
		this.optionA = optionA;
	}


	public String getOptionB() {
		return optionB;
	}


	public void setOptionB(String optionB) {
		this.optionB = optionB;
	}


	public String getOptionC() {
		return optionC;
	}


	public void setOptionC(String optionC) {
		this.optionC = optionC;
	}


	public String getOptionD() {
		return optionD;
	}


	public void setOptionD(String optionD) {
		this.optionD = optionD;
	}
	
}
